package cn.com.chengmandian.bike.mapper;

import cn.com.chengmandian.bike.model.EbCouponInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 优惠券配置 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-15
 */
@Mapper
public interface EbCouponInfoMapper extends BaseMapper<EbCouponInfo> {

    List<EbCouponInfo> selectChannelList(@Param("areaId") Integer areaId, @Param("sendChannel") Integer sendChannel);

    void updateSendAmount(@Param("id") Integer id);
}
